#ifndef CAREA_H
    #define CAREA_H
 
#include "CMap.h"
 
class CArea
{
    public:
        CArea();
        static CArea AreaControl;
        std::vector<CMap> MapList;
        bool OnLoad(char* File);
        void OnRender(SDL_Surface* Surf_Display, int CameraX, int CameraY);
        void OnCleanup();
        CMap* GetMap(int X, int Y);
        CTile* GetTile(int X, int Y);
 
    private:
        int AreaSize;
        SDL_Surface* Surf_Tileset;
};
 
#endif